#if !defined(AFX_VEDIODLG_H__1E019FC4_467E_4109_A14C_061282F83924__INCLUDED_)
#define AFX_VEDIODLG_H__1E019FC4_467E_4109_A14C_061282F83924__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// vediodlg.h : header file
//
#include "userCtrlIF.h"

/////////////////////////////////////////////////////////////////////////////
// CVedioDlg dialog

class CVedioDlg : public CDialog
{
// Construction
public:
	CVedioDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CVedioDlg)
	enum { IDD = IDD_DIALOG_VEDIO };
	CStatic	m_hVedioWnd;

	//tree
	VividTree::BkMode m_background_mode;
	VividTree         m_tree;
	HICON			  m_icon;

	VividTree         m_treetalk;

	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVedioDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CVedioDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnBtnRefresh();
	afx_msg void OnDblclkTreeVedio(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg LRESULT OnUpdateVedioFileList( WPARAM wParam, LPARAM lParam );
	afx_msg LRESULT OnReadH264StreamRsp( WPARAM wParam, LPARAM lParam );
	afx_msg void OnBnClickedButtonVedio();
	afx_msg void OnBnClickedButtonLogoff();
	afx_msg void OnClickedBtnOnline();
	afx_msg void OnPaint();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	void AddToVedioList(CString strDate);
	void InitTreeListNode();

private:
	CUserCtrlIF* m_pUserIF;
	TTPVedioFiles m_tVedioFiles;
	HTREEITEM m_htItemParent,m_htItemChild;

private:
	HDC m_hdc;
	BOOL m_bRAddArea;
public:
	afx_msg void OnBnClickedBtnRighttap();
	CButtonST m_btn1;
	CButtonST m_btn11;
	CButtonST m_btn10;
	CButtonST m_btn12;
	CButtonST m_btn13;
	CButtonST m_btn14;
	CButtonST m_btn15;
	CButtonST m_btn2;
	CButtonST m_btn3;
	CButtonST m_btn4;
	CButtonST m_btn5;
	CButtonST m_btn6;
	CButtonST m_btn7;
	CButtonST m_btn8;
	CDrawEdit m_ed1;
	CButtonST m_btnRightTap;
	CButtonST m_btnOnline;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VEDIODLG_H__1E019FC4_467E_4109_A14C_061282F83924__INCLUDED_)
